#pragma once

#include "GlobalDef.h"

namespace Ideaoptics
{
	class IDEAOPTICS_DLL SpectrumDataClr
	{
	public:
		SpectrumDataClr(int length);
		SpectrumDataClr(const SpectrumDataClr& data);
		SpectrumDataClr& operator=(const SpectrumDataClr& data);
		SpectrumDataClr(SpectrumDataClr&& data);
		SpectrumDataClr& operator=(SpectrumDataClr&& data);
		~SpectrumDataClr();

		int GetLength();

		int Average;
		int Index;
		unsigned short Number;
		double* Spectrum = nullptr;
	private:
		int m_length = 0;
	};
}


